<!DOCTYPE html>
<html lang="en">
<head>
    <script src="../js/vue.js"></script>
    <style>
        .nb{
            background :lightblue;
            width : 100%;
            height :300px;
            color :blue;
        }     
        .Rick{
            background :#4DFFFF;
            width : 100px;
            height :90px;
            margin :auto;
            color :blue;
            border: 3px solid white;
            margin-top: 39px;
        }
        .border{
            border: 2px solid blue;
        }
    </style>
</head>
<body>
    <div id="app">
        <div v-bind:class="nb1">
            <div v-bind:class="Rick1">Rick nb!</div>
            <div v-bind:class="[Rick1,border]">Wubba Lubba Dub Dub!</div>
        </div>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                nb1:'nb',
                Rick1:'Rick',
                border:'border'
                }
        })
    </script>
</body>
</html>